<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="https://baidu.com" method="POST">
        <p>
            <!-- 根据id名给指定的id标签设置光标 -->
        <label for="name">用户名：</label><input type="text" id="name" name="username">
        </p>
        <p>
        <label >密码：</label><input type="password" name="password">
        </p>
        <p>
            <label >性别：</label><input type="radio" name="gender" value="0">男<input type="radio" name="gender" value="1">女
        </p>
        <p>
            <label >爱好：</label>
            <input type="checkbox" name="like" value="学习">学习
            <input type="checkbox" name="like" value="睡觉">睡觉
            <input type="checkbox" name="like" value="打游戏">打游戏
        </p>
        <p>
            <label >照片</label>
            <input type="file" name="pic">
        </p>
        <p>
            <label >个人描述</label>
            <textarea name="desc"></textarea>
        </p>
        <p>
            <label>籍贯</label>
            <select name="position">
                <option value="1">北京</option>
                <option value="2">上海</option>
                <option value="3">深圳</option>
            </select>
        </p>
        <p>
            <input type="submit" value="提交">
            <input type="reset" value="重置">
            <input type="button" value="按钮">
        </p>

    </form>
    
</body>

</html>